<?php
	if(isset($moreUserInvite)){
?>
	<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 list-dev-recommendeds no-padding">
<?php
		foreach ($moreUserInvite->result() as $value) {
?>
		<div class="col-lg-6 col-md-6 item-freelancer-recommend" data-id="<?php echo $value->uid?>">
			<div class="col-lg-4 col-md-4 no-padding">
				<img class="img-thumbnail" onclick="window.location.href='<?php echo site_url('programmer/viewProfile/'.$value->uid);?>'" title="<?php echo $value->user_name?>" style="min-height:145px" src="<?php if ($value->logo != "") echo uimage_url($value->logo); else echo image_default(); ?>">	
			</div>
			<div class="col-lg-8 col-md-8 height-invite-freelancer space-margin-bottom">
				<div class="name-invite-freelancer title-color">
					<a href="<?php echo site_url('programmer/viewProfile/'.$value->uid);?>"><?php echo $value->user_name?></a>
				</div>
				<div><?php echo getCategoryLinks($value->user_categories)?></div>
				<div>
					<input id="preview-user" value="<?php echo $value->user_rating?>" type="number" data-star-captions="{}" data-default-caption="{rating}" disabled = "disabled" class="rating" min=0 max=5  data-size="xs" >
				</div>
				<div>
					<button class="btn btn-md btn-success" id="btn-invite-one" data-href="<?php echo site_url('userList/inviteProgrammer/'.$value->uid)?>">Invite</button>
				</div>
			</div>
		</div>
<?php
		}
?>
	</div>
<?php
	}
?>

<script src="<?php echo base_url()?>/app/js/star-rating.min.js" type="text/javascript"></script>
